Stop panel from being removed if attribute data-id persistent exists