Hide the file send button when needed