Description of problem: When trying to import VM with a name which already exist in RHEVM, an error message pop up appears, and when clicking "close" button, the dialog gets closed. instead of it, the import dialog should appear again in its last state (with the selected VMs and VMs parameters) so the user can change the VM name before the import, otherwise, the webadmin user should go through the whole import dialog again. Version-Release number of selected component (if applicable): ovirt-engine-4.0.2.2-0.1.el7ev How reproducible: Consistently Steps to Reproduce: 1. Browse webadmin -> Virtual machines tab -> import dialog 2. Try to import VM with a name that already exist in RHEVM. Actual results: - an error while executing action pop up appears: Import VM failed - VM Name already exist in the system. Please rename the VM in the system first - When clicking "close", the dialog is closed. Expected results: After clicking "close" on the warning message, the import dialog should get back to the last state it was. Additional info: Screen video capture attached.
Created attachment 1187571 [details] Video capture of this issue
Verified on: ovirt-engine-4.0.4-0.1.el7ev.noarch qemu-kvm-rhev-2.3.0-31.el7_2.21.x86_64 vdsm-4.18.12-1.el7ev.x86_64 libvirt-client-1.2.17-13.el7_2.5.x86_64