Close messages on form reset