menuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent evt) {
DialogWidget frame = (DialogWidget) isInternalFrameUsed(application, sheetType);
if (frame == null) {
if (sheetType == FB_SHEET_TYPE_ROLE) {
frame = new FirebirdManagerRoleFrame(session);
} else if (sheetType == FB_SHEET_TYPE_GRANT) {
frame = new FirebirdManagerGrantFrame(session);
} else if (sheetType == FB_SHEET_TYPE_BACKUP){
frame = new FirebirdManagerBackupRestoreFrame(session.getApplication());
} else if (sheetType == FB_SHEET_TYPE_CREATE){