removed default button in dialog for more compatibility