code for inputtext alert dialog