how to show close icon after 5 seconds