private void showLookupPopup(AnActionEvent e, Project project, ConnectionHandler connectionHandler, DBSchema selectedSchema) {
if (connectionHandler == null) {
// remove action lock here since the pop-up will not be fired to remove it onClose()
removeActionLock();
} else {
GoToDatabaseObjectModel model = new GoToDatabaseObjectModel(project, connectionHandler, selectedSchema);
String predefinedText = getPredefinedText(project);
ChooseByNamePopup popup = ChooseByNamePopup.createPopup(project, model, getPsiContext(e), predefinedText);
popup.invoke(new Callback(model), ModalityState.current(), false);
}