added feature to disable form editing of past appts