adding popup to create and search