Preventing scrollbar to appear. An alert executes informing the user that they can't continue adding text.