adds modal window to copy and paste th works
adds type selection