Random dispense is working.

added a small alert on the ajax success.