add close icon, change alert behavior and styling