added invalid input warning pop up message