Prompt Fix Attempt #1

An attempt to fix the prompt functionality in SweetAlert.