quit: Don't open modified buffer in current window

Change window and then activate the modified buffer.