mdedit: restore focus after click on attachment