Description
1) Edit any metadata but don't save
2) Click on 'Load from DB'
3) 'Load ....' dialog is starting and 'Unsaved changes...' above it
4) Click Cancel in 'Unsaved changes'
5) 'Load metadata' will be cancelled too and dialog will stay on top with inconsistent UI state