Empty queries validation and Popup in page (First approach)