Fix preview form target behaviour