}
// end for not bookmarkable
else {
// obtain title - if there was one
String nbt = getTitle();
NewBookmarkDialog nbd = new NewBookmarkDialog(this, I18n.getString("windowtitle.bookmark"), true);
nbd.setDesc(nbt);
String toAdd = curPage;
if ((toAdd.startsWith("file://")) && (!toAdd.startsWith("file:///"))) {
toAdd = "file:///" + toAdd.substring(6, toAdd.length());
}
nbd.setBMLocation(toAdd);
nbd.init();
nbd.setVisible(true);
if (nbd.isConfirmed()) {
addNewBookmark(new SimpleBookmark(nbd.getBMLocation(), nbd.getDesc()));
}
}
}