Trunk-2280 added an alert box

I have added an alert box to indicate the user that the maximum limit has been reached.