Added a popup warning message, when out-of-range values are entered