open a dialog on button click in React Native Tutorials