jquery: modal; before and after shown