refactored bit:edit. this method still needs to properly get rid of the form on escape button.