implemented simple version of Input Popup