Added code to get part of speech and to open FW dialog to choose project