 );
                    });
                },
                deleteHeadline: function (id) {
                    let a = this.headlines.find(a => a.id === id);
                    UIkit.modal.confirm(`Headline "${a.name}" will be deleted. Continue?`, () => {
                        doAsync(
                            async () => {
                                await postJson(`/api/headlines/${a.id}/delete`);
                            },
                            () => refresh(),
    	              