Added animation and stabilized pop up functionality
Added flush and load module function (beta)