Fixed the exam list "edit" function by adding a dialog box