set SafeApp frame default close operation to Dispose