implement flash allow/disallow switch
about dialog