CLOUDSTACK-7318: [UI] Add error handler for VM snapshot creation

Fixes the issue where processing wheel continue to spin even after error
message is displayed during VM snapshot creation