By creating the resource "Link to a file or web site" and selecting the option "New Window" this option is not accepted. The requested webpage opens in the same window.
A new user may be confused if the Moodle window disappears, giving place to a new one. The new user may tend to close the web page window, and by doing so, logging off himself of Moodle.
Follow these steps to replicate the bug:
1- Press the Activate Editing Mode Button.
2 - Select "Link to a file or web site" on the Combo Box "Add a Resource".
3 - Fill in the form.
4 - Select the "New Window" option.
5 - Save the options.
Bug: The link to a web page will open in the same window.