Update Alert.php to add some refinements and clean up bugs.

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