Corrected mobile soft keyboard input

Now checks if browser is mobile and applies the click event only then.

Will show the prompt and then simulate the enter keypress, to execute
the command.