File/image upload behavior for Yii 2