modals to static
merging before modal to static push
modals to static