hacky temporary fix for shifting modals