small change to leanmodal directive