changed modal coordinates back to make it work again with the api