Open entities in new window/tab bug fixed