Fixed Qlayout warning error. Commited class is now a subclass of QDialog and added back button function.