fix for selecting container type after pressing cancel button