Finishing layout of addItem dialog, implementing partial time functionality and data loading