As per your code - it should display a message box first. After clicking ok on the message box - It should display a window to enter a value
Then after entering - it should display the entered value
Let us know if at least the message box is coming or not?
Also the input window / message box might be displayed anywhere on the screen in desktop. try minimizing studio browsers etc. to see if it is coming in the background