UX: refactor security modals (PR #12870)

  • better form
  • uses d-footer
  • ensure buttons have the same height

Note that to achieve same height for btn without text, I made the choice to go for a minimum height which should work in most cases.

GitHub