button close to close an action