Hide compose window after send + code cleaning