cancel button closes popup