fixing some minor typos.
adding encapsulation to Take text.
adding trigger for opening editing-details