UI fixes

Fixes also https://github.com/modxcms/revolution/pull/436