Select proper dialog according to selected layer.