commit popup functionality