got validate popup working