Close keyWindow before chatView tabs