changed default behavior on close to do nothing