Modal permalink positioning