added GUI elements to insert new samples