adding popup effect