removed pointless js dialog.