Modal directive now works