Determine offset based on selected item, continue to fail at dismissing correctly