Fix registration warning dialog