Added model window for confirmation boxes. Also added the calls for preforming some actions