Don't try to open deleted docs for editing
Null check for resizing diffs that may not have an ace editor