On the properness of an impulsive control extension of dynamic optimization problems