dialogs work but pull up main activity screen