adding close button to notices