Update jquery.reveal.js to close mutltiple Modals

when modal link is inserted within a Modal  and on click opens the modal. But Cannot Close the Parent Modal which was opened