check if link remote is true and dismiss modal on confirm
Merge pull request #2 from robincwillis/check-ajax

check if link remote is true and dismiss modal on confirm