got modal working