Removed unnecessary modal presentation code