[#828] Fixes the positioning of generic modals vs. confirm action modals