fix ok_cancel_dialog if dictionary is not empty