close compose window after send/save button is clicked