Added check boolean
Dialog dispose after last phase
Added method to get value of a section