<table>
<tr>
<td>
<button id="setAlert" type="button" onclick='AlertMeDialog()'>Set Alert</button>
</td>
<td>
<button id="manageAlert" type="button" onclick='test()'>Manage My Alerts</button>
</td>
</tr>
</table>
<script type="text/javascript">
function AlertMeDialog() {
var options = {
url: '/_layouts/SubNew.aspx?List={8cf4def7-cfcf-4143-be3b-93021692c342}',
title: 'Set alert on this list',
allowMaximize: false,
showClose: true
};
SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options);
}
function test()
{
window.open('/_layouts/15/start.aspx#/_layouts/15/MySubs.aspx');
}
</script>This code snippet for editor web part create custom button for open list alert page in model popup.
