use jQuery to hide modal like what @audreyt did for a single page