Updated to use dialog() and changed dialog text