copy overlays and setting parent id from master closes #1334