Added options functionality and created new dialog boxes