change alert box to prompt box