Fork me on GitHub

Would anyone happen to know why if I have multiple frames open and use dired to open a file in frame 1, Emacs switches to frame 2? The file is opened in frame 1 so it's of no help to me that it switched frames.