http://bugs.otrs.org/show_bug.cgi?id=10427

Added code for events close and click on "Cancel & close window",  if that event trigered values lock of ticket is reset to the previuse value