Added action listeners for close and cancel

The close and cancel buttons are in the dialog for the story and load
buttons.