confirm callback in HLManager, use settings for it and for doc show

review, pushed after rebase