getting map instance and simple action on that instance, adding widgets