Add indicators for Processing request, error etc.

The button is disabled when the request is being processed and it shows "Processing...". Also, a popup appears in case of an error.