adding delay to photo selector popup