Add showing and hiding dialogs unneed