Close flash messages after few seconds