Disabling HTML view when media is being uploaded; fixed small issue with media upload check