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){
frame = new FirebirdManagerCreateDatabaseFrame(session.getApplication());
} else if (sheetType == FB_SHEET_TYPE_USER){