added warning dialog todo locations