delete selected article and insert input title and content