From your description, it sounds like when you click outside of your desired polygon area, you are clicking into "nothing", and so nothing should be returned. As has been mentioned in this thread, you should be able to set up two calculates to 1) pulldata(@layer), followed by 2) an IF() statement to test whether or not any data was returned by the pulldata(@layer)