added duration to form and fixed draft checkbox