improved ui and added working confirm and cancel buttons for verify_window