testing popup cancellation