Access correct data attribute for reveal settings

This fixes a small error that prohibits the use of multi-window ajax modals.