beforeInsert hook for subview configurations