added popup check to dev