Error handling in ajax calls and some UI tweaks

Added popup notification when server request fails and some resize
tweaks if form is too big for the display.