added on_open and on_close classbacks as well as close_on_body_click option