added duration dialog (still buggy) and correct representation through
size.