remove relative positioning from item
this fixes additional issues with collapsable positioning saving
adds initial esc command to the modal window