Allowing modals to be closed by clicking on the backdrop. Also improved documentation in the show function.