fix library edit dialog
fix missing icon after image upload