Backport: don't use Bootstrap modals
https://github.com/ChrisHammond/HammerFlex/commit/23e929d99b6b325580dd8e7f17ee046c6b75d4af