Move events from page to widget. Make load/save system