fix lost refresh in inputdialog enter callback

When Enter callback function is defined in GotoDialog, callback function should be called delayed so that there is time for inverting the virtual key color. The original 0.1 sec delay is so short that the refresh of virtual key is combined with the refresh of new page. I adjusted the time delay to 0.3 so as to wait the refresh of the virtual key and then send the GotoPage event.