a slightly better add graph dialog and a duration parameter,which is called 'from' in graphite speak.