Added getters and setters to modal