Fix BCodeEditor

Fix BCodeEditor double "failed to open document" message.