Fixed hiding of flash message after clicking somewhere.