fixing failure dialog