add edit camera directive