Creates a prompt dialog asking the user if he is sure about the upcoming action