Fix for cancel in the save dialog