Bugfix#527 Reverting a snapshot doesn't change initial state of "Edit Guest"

Close dialogue when reverting a VM finished.

Signed-off-by: Wen Wang <wenwang@linux.vnet.ibm.com>