modify time/date/value_selector and modal_dialog and naming issue of layout_manager.js