myModal directive now works with some strange scop behavior