avatar is hidden when allowEditConfirm is passed with true value