add appendInfoMessage method, fix cs issues
add and use isModelSelected and isSelectedModelEditable