checking for flashbag before showing div.