cancel button in dialog for rule add