Got modal working