VE-1425: Major integration of UX

https://wikia-inc.atlassian.net/browse/VE-1425
From "oojs-ui.js": Do not override this method. Use #getTeardownProcess to do something each time the window closes.