doing modal position change