Yes, there will be two alerts come up. It turns to blank screen after I click "Yes" this first time. The alert comes up again. It will be fine when I click "Yes" again this time.
By the way, I tried to set this to this_ref outside alert create, but got the same problem.
Thanks anyway.