Add hook infrastructure for form on done method