Adds the functionality of warning dialog to ClosableTabComponent

Reported-by: bnurbekov
Signed-off-by: Batyrlan Nurbekov <bnurbekov@wpi.edu>
Merge branch 'sbl-dev' of git://github.com/struct-by-lightning/wpi-suite into sbl-dev
Merge pull request #297 from bnurbekov/sbl-dev

Adds the functionality of warning dialog to ClosableTabComponent