AppWindow_WithDoc::open_document(): Simplify the return paths.

This avoids a Coverity Scan warning about unreachable code.