Fixed an error preventing the 'Cancel' and 'List Slides' buttons on the add and edit pages from working.