Added rating dialog

Added rating dialog, ratings changes still need to be implemented in the
database.