better use of leanModal directive