modal ready and binding moved here