styling and click events added to status messages