When the "Find" bar is open (CMD-F) this is not possible to open the "Replace" Windows (CRTL-H), and not message give you a warning.
Tested on Mac with php version, 23 11 2010
This is already implemented for 7.1. You can try dev build.
*** This bug has been marked as a duplicate of bug 198697 ***