Added support for Alert box with text input