fix image preview
fix image preview doesn't close after select tag