Styling and some functionality of the alert pane