changed modal enter direction