CancelButton in popup works