clickout directive, confirm dialogue directive, multiple mods and fixed bugs