alert changed to prompt