Added closeButton parameter, assignment of CSS class corrected, and added php doc comments.
An error occurred