[#94] hooked up the delete functionality to be invoked after all of the transitions on the gui are executed