fix UI for the popups to have cancel buttons