BZ1078121: [Usability] Not good alert message to user when there is invalid input

(cherry picked from commit 59d73fb6878e5ad568d0c9e2166df0ab79d12547)