Removed code that's causing issues closing inline widgets

https://github.com/adobe/brackets/issues/8409