Fixes #153: Ediff save bug

Checks that frame-selected-window is not a dedicated window before
changing to the current buffer.