drupal_goto overlay page
You need to pass a fragment to drupal_goto() as an option like so:

$options = array('fragment' =&gt; 'nl/admin/overlay');
drupal_goto('some-url', $options);


Reference for this can be found on the url() docs page (the docs page for drupal_goto() actually refers you to there as well).