OO'ed modal functionality using foundation's 5's reveal