added event listener and handler function for playButton-->level dialog box. not yet working