Enable/disable siganture commands before exiting the function in new compose window (#1490074)