change position through modal