removed popup dialogs and added the right panel