Add onClick="return false" to UI button.
Moved the solution to element click listener's callback.
Changelog entry.
Merge branch 't/9958'