added in ok button for location layout