fixing some crashes related to skipping dialog