fix the alignment issues of modals in manage frameworks