Improve UI response to file too big to be attached