added border to stc entry dialog, and used message for expand variable