I had this same problem, then i found a way to separate it like this,
- Right click on the XAML file in the solution explorer and select Open With;
- select Source Code (Text) Editor (instead of XML (Text) editor).
This creates a separate tab for the XAML source editor, just undock it and create a new window.