added window dedication. to prevent a panel such as the dirtree from being replaced by default emacs buffer handling