Updated dialog and moved panel to bottom of the screen